<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  <% String cpath=request.getContextPath(); %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>조립PC의 대명사- PC Master~!~!</title>
<!-- <script>
	window.onload = function(){
		location.href="/web/goods/read";
	}
</script> -->

</head> 
<body>
<form name="listForm" action="<%=cpath %>/goods/detail" method="POST" enctype="multipart/form-data">
<div style="position:absolute; left:50%; top:0px; width:1200px; height:80px; margin-left:-600px;z-index:1 ">
<%@ include file="../loginPanel.jsp" %>
</div>

<div style="position:absolute; left:50%; top:0px; width:1200px; height:80px; margin-left:-600px;">
<%@ include file="../top.jsp" %>
</div>

<div style="position:absolute; left:50%; top:510px; width:1200px; height:80px; margin-left:-600px;">
<table width="200px" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td>
		<img src="/web/resources/images/main/main-btn01-on.jpg" style="width:200px; height:155px; cursor:pointer " onclick="location.href='/web/ssd'"/>
	</td>
</tr>
</table>
</div>


<div style="position:absolute; left:50%; top:160px; width:1000px; height:80px; margin-left:-400px;">
<!--------------------------------------여기다가 각자 삽입------------------------------------>
<table width="1000px" border="0" cellspacing="20px" cellpadding="0">
	<tr>
	<c:forEach items="${list}" var="list" varStatus="status"><%--  begin="1" end="10"  --%>

		<td align="center">	
			<a href="/web/goods/detail?goods_code=${list.goods_code }">
				<img src="/web/resources/upload/${list.goods_image1}" style="width:170px; height:170px;">
			</a>
		<br/>
			<Strong style="font-family:굴림 ;font-size:11pt;font-weight:bold;color:red; ">${list.goods_name }</Strong>
		<br/>	
			<Strong style="font-family:굴림 ;font-size:10pt; color:#555555 ">${list.goods_cost }</Strong>
		<br/>
			<img src="/web/resources/upload/${list.goods_image3}" style="width:180px; height:150px;">
		<br/>
		</td>			
		<c:if test="${status.count%4 ==0}">
		<tr></tr>
		</c:if>
	</c:forEach>  
	</tr>
</table>
	<hr width="1000px" size="1" noshade color="silver">
<!--------------------------------------   삽입 끝       ------------------------------------>
</div> 

<div style="position:absolute; left:0; top:1350px; width:100%; height:80px; ">
<%@ include file="../bottom.jsp"%>
</div>
</form>
</body>
</html>